package com.xunfang.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author yellow Doctor
 * @date 2025-10-30
 * @desc https://blog.csdn.net/hekai7217
 */
@RestController
@RequestMapping("/demo")
public class DemoController {

    @GetMapping("/test01")
    public String demo01(){
        return "demo01";
    }

    @GetMapping("/test02")
    public String demo02(){
        return "demo02 9999";
    }
}
